package feign.okhttp.learn.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import lombok.Data;

@Data
public class UserInfoDto {

    @NotEmpty
    private String id;

    @NotEmpty
    private String name;

    @NotNull
    private Integer age;

}
